/************************************************************************/
/* Mega16 EEPROM  writing and reading. 8 and 16 bit.                    */
/************************************************************************/

#define ADDRESS_CODE 1
#define ADDRESS_NO_LOAD 2

void EEPROMWriteByte(uint8_t address, uint8_t data);
uint8_t EEPROMReadByte(uint8_t address);
void EEPROMWriteWord(uint16_t address, uint16_t data);
uint16_t EEPROMReadWord(uint16_t address);